libxc: use correct size of struct xen_mc
authorIan Campbell <ian.campbell@citrix.com>
Mon, 18 Oct 2010 15:53:04 +0000 (16:53 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 18 Oct 2010 15:53:04 +0000 (16:53 +0100)
commitf5c808b428244f42b2310ddf173c624d9a2a842c
tree2ed581ac9e4a081f717ca720c76a52adfdda4078
parente43181a5eb45bf8834a703b8601f93b610ec94ab
libxc: use correct size of struct xen_mc

We want the size of the struct not the pointer (although rounding up
to page size in lock_pages probably saves us).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_misc.c